package model

type UserModel struct {
	BaseModel
	Id          int `json:"id"`
	Name        string
	Pwd         string
	Token       string
	Uuid        string
	OnLine      int
	LoginIp     string
	Gateway     string
	CreatedTime int `gorm:"autoCreateTime"`
	UpdatedTime int `gorm:"autoUpdateTime"`
}

func (UserModel) TableName() string {
	return "user"
}
